//
//  MyDocument.h
//  Earthinizer
//
//  Created by markd on 5/23/09.
//  Copyright Borkware 2009 . All rights reserved.
//


#import <Cocoa/Cocoa.h>

@class BWMapWindowController;

@interface BWTrackDocument : NSDocument {
    NSString *coordinates_;
    NSString *kmlFileName_;
    NSString *placeName_;  // displayed in the Temp Places list
    NSColor *lineColor_;
    double lineWidth_;

    double tilt_;
    double heading_;
    double range_;
    double lookAtLat_;
    double lookAtLng_;

    double tourSpeed_;
    BOOL followPath_;
    BOOL reversePath_;

    BWMapWindowController *mapWindowController_;
}

@property (copy) NSString *coordinates;
@property (copy) NSString *kmlFileName;
@property (copy) NSString *placeName;
@property (copy) NSColor *lineColor;
@property double lineWidth;
@property double tilt;
@property double heading;
@property double range;
@property double lookAtLat;
@property double lookAtLng;
@property double tourSpeed;
@property BOOL followPath;
@property BOOL reversePath;
@property (retain) BWMapWindowController *mapWindowController;

- (IBAction)useCoordinateFile:(id)sender;

- (IBAction)useCoordinatesFromClipboard:(id)sender;

- (IBAction)appendCoordinatesFromClipboard:(id)sender;

- (IBAction)useViewFromEarth:(id)sender;

- (IBAction)generateKML:(id)sender;

- (IBAction)showMap:(id)sender;

- (IBAction)clear:(id)sender;

- (IBAction)reversePath:(id)sender;

- (IBAction) generateProfile: (id) sender;

@end
